package rapier.sso.core.model;

import java.util.ArrayList;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
public class RoleModel {
	@ApiModelProperty(value = "主键")
	private Long id;
	@ApiModelProperty(value = "应用ID")
	private Long appId;
	@ApiModelProperty(value = "角色")
	private String code;
	@ApiModelProperty(value = "名称")
	private String name;
	@ApiModelProperty(value = "状态")
	private Integer statues;
	@ApiModelProperty(value = "权限")
	private List<PermissionModel> permissions = new ArrayList<PermissionModel>();
}
